<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@include file="top.jsp" %>
<%
            String path = request.getContextPath();
            String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0031)http://www.nz519.cn/news/admin/ -->
<HTML><HEAD><TITLE>Paporeelu新闻发布系统管理系统后台</TITLE>
        <META http-equiv=Content-Type content="text/html; charset=utf-8">
        <SCRIPT language=javascript src="img/login/validator.js"></SCRIPT>
        <SCRIPT language=javascript src="ajax.js"></SCRIPT>
        <script language=JavaScript>
         
            function login(){
                var account=document.getElementById('account_no').value;
                var pwd=document.getElementById('password').value;
                if(account==""){
                    alert("用户名不能为空");
                    document.getElementById('account_no').focus();
                    return ;
                }
                if(pwd==""){
                    alert("密码不能为空");
                    document.getElementById('password').focus();
                    return;
                }
                var url='admin?admin=login&account_no='+account+'&password='+pwd;
                syn=false;
                ajaxGet(url);
                if(result=="true"){
                    window.location="index.jsp";
                }else{
                    alert('用户名或者密码错误！');
                }
            }
       </script>
        <LINK href="display/images/template.css" type='text/css' rel=stylesheet>

        <META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
    
    <BODY bgColor=#ffffff>
        <br><br><br>
        <table><tr><td width="350px"></td>
            <td>
        <FORM name=form1 action="admin?admin=login" method=post >
            
                <div  class="individual_boxes">
                    
                    <div class="individual_box_one">
                      
                        <div class="individual_box_one_picks">
                            
                            <div class="individual_box_one_header">
                                
                                <p> 管理员登录 </p>

                            </div>
                            <div class="individual_box_one_text">
                      
                              <br>
                           &nbsp;&nbsp;&nbsp;用户名:<input type="text" id=account_no value=""
                                                        name=account_no  ><br>
                           &nbsp;&nbsp; 密&nbsp;&nbsp;码:<input type="text" id=password type=password
                                                                   name=password ><br>
                            <INPUT type='button' value='进入后台' onclick="login()">
                            
                            </div>
                        </div>
                    </div>
                </div>
               
        </FORM></TD></TR>
        </TABLE></BODY></HTML>

